 import request from '@/utils/request'
 // 查询外出审批列表
 export function listOutgoingApproval(query) {
   return request({
     url: '/activiti/outgoingApproval/list',
     method: 'get',
     params: query
   })
 }
 
 // 查询外出审批详细
 export function getOutgoingApproval(id) {
   return request({
     url: '/activiti/outgoingApproval/' + id,
     method: 'get'
   })
 }
 
 // 新增外出审批
 export function addOutgoingApproval(data) {
   return request({
     url: '/activiti/outgoingApproval',
     method: 'post',
     data: data
   })
 }
 
 // 修改外出审批
 export function updateOutgoingApproval(data) {
   return request({
     url: '/activiti/outgoingApproval',
     method: 'put',
     data: data
   })
 }
 
 // 删除外出审批
 export function delOutgoingApproval(id) {
   return request({
     url: '/activiti/outgoingApproval/' + id,
     method: 'delete'
   })
 }
 // 提交申请
 export function updategoingform(id){
	 return request({
		 url:'/activiti/outgoingApproval/submitApply/'+id,
		 method:'POST'
	 })
 }